home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / w3d / readme.txt < prev    next >
Encoding:
Text File  |  1998-04-30  |  4.0 KB  |  113 lines

  1.              W3D - 3D figures ActiveX v1.0 
  2.  
  3.      This ActiveX control lets show, transform and edit 3D-figures.
  4. W3D features support for points/edges color and width,
  5. perspective and isometric view. Coordinate system and 3D-figire
  6. properties are fully controlable by keyboard and mouse.
  7.  
  8. Freeware version is limited to 16 lines and 16 points.
  9.  
  10. Requirements: VB5 runtime files.
  11.  
  12. Installation:
  13.   1. Open W3D.ZIP in an empty directory
  14.   2. Run reg.bat
  15.   3. Run Wire3D.exe
  16.  
  17. From VB5 Environment Open Project  " WIRE3D.vbp".
  18.     Adjustment:   
  19.     Project | Components | Controls |... put check mark on  "W3D"
  20.  
  21. User Interface:
  22.  
  23. In order TO...
  24.   Select Line or Point - just move mouse over it.
  25.   Build Line  WITH   M O U S E  -
  26.                -Select 1-st Point,
  27.                -hold left button,
  28.                -move to Select 2-nd Point,
  29.                -release button.
  30.   Rotate XYZ -  hold left button and move the mouse.
  31.   Delete SELECTED Line or Point   (with all connected lines) - "Delete".
  32.   Zoom In  - keypad "+" or "PageUp".
  33.   Zoom Out - keypad "-" or "PageDown".
  34.  
  35. In perspective view:
  36. _______________________________________
  37.  Distance                  |   increase   |  decrease
  38. _______________________________________
  39. eye-XYZ origin                 Shift+O             O
  40. eye-XoYplane                  Shift+P              P
  41. _______________________________________
  42.  
  43. Programming:
  44.  
  45. Properties:
  46.   Xmin,Xmax,Ymin,Ymax,Zmin,Zmax
  47.   isPerspective
  48.   show3DplaneXY
  49.   show3Dboundaries
  50.   show3Daxes
  51.   show3DaxesNames
  52.   LineColor
  53.   PictureFileName 
  54.   SelectLineByMouse
  55.   SelectPointByMouse
  56.  
  57. Events:
  58.   LineSelected(x1 As Double, y1 As Double, z1 As Double, x2 As Double, y2 As Double, z2 As Double, width As Integer, color As Long)
  59.   PointSelected(x As Double, y As Double, z As Double, width As Integer, color As Long)
  60.  
  61. Methods:
  62.   AddPoint3D(x1 As Double, y1 As Double, z1 As Double, width As Integer, color As Long) As Boolean
  63.   RemovePoint3D(x1 As Double, y1 As Double, z1 As Double, updateGraphArea As Boolean) As Boolean
  64.   AddLine3D(x1 As Double, y1 As Double, z1 As Double, x2 As Double, y2 As Double, z2 As Double, width As Integer, color As Long) As Boolean
  65.   AddLine3DbyPoints(PointIndex1 As Integer, PointIndex2 As Integer, width As Integer, color As Long) As Boolean
  66.   RemoveLine3D(x1 As Double, y1 As Double, z1 As Double, x2 As Double, y2 As Double, z2 As Double, updateGraphArea As Boolean) As Boolean
  67.   SaveFigure(filename As String)
  68.   LoadFigure(filename As String, Optional changeXYZranges As Boolean = False)
  69.   SaveImage(filename As String)
  70.   PrintImage()
  71.   rotateByXaxe(angleDegrees As Double)
  72.   rotateByYaxe(angleDegrees As Double)
  73.   rotateByZaxe(angleDegrees As Double)
  74.   vector(a1 As Double, a2 As Double, a3 As Double)
  75.   showVector(x As Double, y As Double)
  76.   Zoom(mult As Double)
  77.   Show3D(withoutTrails As Boolean)
  78.   ClearAll3Dsegments()
  79.   ClearAll3D()
  80.  
  81.    
  82.    Programming techniques are shown in WIRE3D.vbp source by menu options, 
  83. textbox and pictures. Pay special attention to properties like "perspective view".  
  84. 3D figure transformations ( rotations and vectors ) will work only after loading 
  85. figure from a file or building by Line-Point Editor and/or mouse.
  86.    
  87.    In VB5 Design Mode you can modify the properties and observe
  88. their implication on the XYZ system view.
  89.  
  90.  
  91. Conditions:
  92.  
  93.     - not allowed to distribute the OCX alone, but you may freely develop and
  94. distribute projects that use the control with one condition: the About Dialog must 
  95. include a reference:
  96.         "W3D 3D figures ActiveX v1.0:   vnode@luckynet.co.il" 
  97.  
  98. In order to recieve Full version with no limitations:
  99.      
  100. 1. Pay 39$ US to
  101.        ADM computers (1985) Ltd.
  102.        P.O. Box 8048, NEW INDUSTRIAL ZONE,
  103.        NETANIA, ISRAEL
  104.        FAX: 972-98352763
  105. 2. (obvious step) Send e-mail message to vnode@luckynet.co.il with
  106.     first sentence "W3D full..."
  107.     
  108. Comments and suggestions:
  109.  
  110.         vnode@luckynet.co.il
  111.  
  112.                            April 30 1998
  113.